import fetch from 'common/src/utils/fetch';
/**
 *
 * 分页查询专业排课情况(分页)
 */
export function getProArranges(data) {
    return fetch({
        url: '/api/arrangementservice/proTimeTable/page',
        method: 'post',
        data
    });
}

/**
 *
 * 获取专业下教学班排课信息
 */
export function getProDetail(data) {
    return fetch({
        url: '/api/arrangementservice/proTimeTable/getProDetail',
        method: 'post',
        data
    });
}

/**
 *
 * 获取没有排课的教学班信息
 */
export function getNotPreArrange(data) {
    return fetch({
        url: '/api/arrangementservice/proTimeTable/getNotPreArrange',
        method: 'post',
        data
    });
}

/**
 *
 * 获取没有排课的教学班信息
 */
export function exportProTimeTable(data) {
    return fetch({
        url: '/api/arrangementservice/proTimeTable/export',
        method: 'post',
        data
    });
}

/**
 * 进行查询专业课表是否有冲突
 */
export function conflict(canlendarId, data) {
    return fetch({
        url: '/api/arrangementservice/proTimeTable/conflict?calendarId=' + canlendarId,
        method: 'post',
        data
    });
}
